This program prints the link-level address of an Ethernet or FDDI interface. Usage: ifaddr [name] Where "name" is the interface name used with ifconfig (e.g., et0, ec0, enp0, enp1, ipg0, etc.). If "name" is not specified, the primary interface is used. Note: FDDI addresses are shown in FDDI bit order (which are swapped from ether bit order). To run ifaddr, you must have superuser privilege.
Source
Documentation
Reference